#!/bin/bash

DATABASE=$1
SOURCE_PATH=/home/mtan4/Code/GLADE/src
M4INCLUDE="-I ${SOURCE_PATH}/Tool_BulkLoader/m4/ -I ${SOURCE_PATH}/M4/m4"

# adding the info to catalog
m4 $M4INCLUDE ${SOURCE_PATH}/Tool_BulkLoader/GenerateSQLForCatalog.m4 | sqlite3 $DATABASE
